import {
  HTTP
} from '../utils/http.js'

class AuthModel extends HTTP {
  constructor() {
    super()
  }

  getSelfAuthData() {
    return this.request('api/ATC.InterviewerEmp.getPersonSelfResuemeData')
  }

  getCompanyInfo(data) {
    return this.request('api/ATC.MerchantEntry.Edit.mdp', data)
  }

  getSeriesData(data) {
    return this.request('api/ATC.Series.getListData.vdt', data)
  }

  getYearsDic() {
    return this.request('api/ATC.AuthenticationInfo.Edit.mdp')
  }

  saveData(data) {
    return this.request('api/ATC.AuthenticationInfo.save', data)
  }

  submitData(data) {
    return this.request('api/ATC.AuthenticationInfo.submitRate', data)
  }
}

export {
  AuthModel
}